package br.com.bankai.koby.service.util;

import org.springframework.stereotype.Component;

/**
 * 
 * @author Leonardo
 *
 */
@Component
public class EncryptHelper extends br.com.graflogic.utilities.datautil.encrypt.EncryptHelper {

	private static final String SECRET_KEY_ALGORITHM = "SHA-256";

	public static String encrypt(String originalValue) {
		return encrypt(originalValue, SECRET_KEY_ALGORITHM);
	}

	public static void main(String[] args) {
		System.out.println(encrypt("1234"));

	}
}